/*

import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import common from './modules/common'
import tags from './modules/tags'
import logs from './modules/logs'
import dict from './modules/dict'
import getters from './getters'

const files = require.context('./modules', false, /\.js$/)
const modules = {}

files.keys().forEach(key => {
  console.log(key, 'key');
  modules[key.replace(/(\.\/|\.js)/g, '')] = files(key).default
})

console.log(modules, 'modules');

Vue.use(Vuex)
const store = new Vuex.Store({
  modules,
  getters,
})

export default store
*/